package com.elock.entity;

import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.elock.base.core.entity.BaseEntity;

/**
 * Entity - 终端通知消息
 * @author 仁德
 */
@Entity
@Table(name = "terminal_notify_message")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "terminal_notify_message_sequence")
public class TerminalNotifyMessage extends BaseEntity {

	private static final long serialVersionUID = 4356506243698650517L;

//	/** 终端设备id */
//	private Long terminalId;

	/** 终端设备编号 */
	private String terminalNum;

	/** 锁号 */
	private String elockNum;

	/** 消息类型：1：手动开锁   2：手动解除报警 */
	private int type;

	/** 消息内容 */
	private String content;

	/** 经度 */
	private BigDecimal longitude;

	/** 纬度 */
	private BigDecimal latitude;

	/** 是否已处理 0 未处理  1已处理 */
	private int isProcess;

	/** 处理结果 */
	private String processResult;

	/** 处理人 */
	private String processor;

	/** 处理时间  */
	private String processTime;

	/** 唯一标识  */
	private String uuid;

	/** 备注 */
	private String remark;

	/** 任务单流水号 */
	private String taskSn;

//	/**  
//	 * 获取terminalId  
//	 * @return terminalId terminalId  
//	 */
//	public Long getTerminalId() {
//		return terminalId;
//	}
//
//	/**  
//	 * 设置terminalId  
//	 * @param terminalId terminalId  
//	 */
//	public void setTerminalId(Long terminalId) {
//		this.terminalId = terminalId;
//	}

	/**  
	 * 获取terminalNum  
	 * @return terminalNum terminalNum  
	 */
	public String getTerminalNum() {
		return terminalNum;
	}

	/**  
	 * 设置terminalNum  
	 * @param terminalNum terminalNum  
	 */
	public void setTerminalNum(String terminalNum) {
		this.terminalNum = terminalNum;
	}

	/**  
	 * 获取elockNum  
	 * @return elockNum elockNum  
	 */
	public String getElockNum() {
		return elockNum;
	}

	/**  
	 * 设置elockNum  
	 * @param elockNum elockNum  
	 */
	public void setElockNum(String elockNum) {
		this.elockNum = elockNum;
	}

	/**  
	 * 获取type  
	 * @return type type  
	 */
	public int getType() {
		return type;
	}

	/**  
	 * 设置type  
	 * @param type type  
	 */
	public void setType(int type) {
		this.type = type;
	}

	/**  
	 * 获取content  
	 * @return content content  
	 */
	public String getContent() {
		return content;
	}

	/**  
	 * 设置content  
	 * @param content content  
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**  
	 * 获取longitude  
	 * @return longitude longitude  
	 */
	public BigDecimal getLongitude() {
		return longitude;
	}

	/**  
	 * 设置longitude  
	 * @param longitude longitude  
	 */
	public void setLongitude(BigDecimal longitude) {
		this.longitude = longitude;
	}

	/**  
	 * 获取latitude  
	 * @return latitude latitude  
	 */
	public BigDecimal getLatitude() {
		return latitude;
	}

	/**  
	 * 设置latitude  
	 * @param latitude latitude  
	 */
	public void setLatitude(BigDecimal latitude) {
		this.latitude = latitude;
	}

	/**  
	 * 获取isProcess  
	 * @return isProcess isProcess  
	 */
	public int getIsProcess() {
		return isProcess;
	}

	/**  
	 * 设置isProcess  
	 * @param isProcess isProcess  
	 */
	public void setIsProcess(int isProcess) {
		this.isProcess = isProcess;
	}

	/**  
	 * 获取processResult  
	 * @return processResult processResult  
	 */
	public String getProcessResult() {
		return processResult;
	}

	/**  
	 * 设置processResult  
	 * @param processResult processResult  
	 */
	public void setProcessResult(String processResult) {
		this.processResult = processResult;
	}

	/**  
	 * 获取processor  
	 * @return processor processor  
	 */
	public String getProcessor() {
		return processor;
	}

	/**  
	 * 设置processor  
	 * @param processor processor  
	 */
	public void setProcessor(String processor) {
		this.processor = processor;
	}

	/**  
	 * 获取processTime  
	 * @return processTime processTime  
	 */
	public String getProcessTime() {
		return processTime;
	}

	/**  
	 * 设置processTime  
	 * @param processTime processTime  
	 */
	public void setProcessTime(String processTime) {
		this.processTime = processTime;
	}

	/**  
	 * 获取uuid  
	 * @return uuid uuid  
	 */
	public String getUuid() {
		return uuid;
	}

	/**  
	 * 设置uuid  
	 * @param uuid uuid  
	 */
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	/**  
	 * 获取remark  
	 * @return remark remark  
	 */
	public String getRemark() {
		return remark;
	}

	/**  
	 * 设置remark  
	 * @param remark remark  
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**  
	 * 获取taskSn  
	 * @return taskSn taskSn  
	 */
	public String getTaskSn() {
		return taskSn;
	}

	/**  
	 * 设置taskSn  
	 * @param taskSn taskSn  
	 */
	public void setTaskSn(String taskSn) {
		this.taskSn = taskSn;
	}

}
